<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>修改权限</title>
        <meta http-equiv="content-type" content="text/html;charset=utf-8">
        <link href="/Application/Admin/Public/css/mine.css" type="text/css" rel="stylesheet">
    </head>

    <body>

        <div class="div_head">
            <span>
                <span style="float:left">当前位置是：权限管理-》修改权限</span>
                <span style="float:right;margin-right: 8px;font-weight: bold">
                    <a style="text-decoration: none" href="/Application/Admin/Public/admin.php?c=goods&a=showlist">【返回】</a>
                </span>
            </span>
        </div>
        <div></div>

        <div style="font-size: 13px;margin: 10px 5px">
            <form action="__SELF__" method="post">
            <table border="1" width="100%" class="table_a">
                <input type="hidden" name="auth_id" value="{$current_auth.auth_id}"/>
                <tr>
                    <td>权限名称</td>
                    <td><input type="text" name="auth_name" value="{$current_auth.auth_name}" /></td>
                </tr>
                <tr>
                    <td>父级权限</td>
                    <td>
                        <select name="auth_pid">
                            <option value="0">请选择</option>
                            <foreach name="parent_auth"  item="item">
                                <if condition="$item['auth_id'] eq $current_auth['auth_pid']">
                                  <option value="{$item.auth_id}" selected="selected">{$item.auth_name}</option>
                                <else/>
                                  <option value="{$item.auth_id}">{$item.auth_name}</option>
                              </if>
                            </foreach>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>权限控制器</td>
                    <td><input type="text" name="auth_c" value="{$current_auth.auth_c}" /></td>
                </tr>
                <tr>
                    <td>权限Action</td>
                    <td><input type="text" name="auth_a" value="{$current_auth.auth_a}" /></td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input type="submit" value="修改">
                    </td>
                </tr>  
            </table>
            </form>
        </div>
    </body>
</html>